home *** CD-ROM | disk | FTP | other *** search
- LstGrid: How to Drag Data From a List Box to Certain Cell in Grid
-
- The sample GRIDDD.MAK project contains the files GRIDDD.FRM and GRID.VBX.
-
- The idea of the sample is to demonstrate how to drag an item from a List box
- to a specific cell within the Grid control in Visual Basic 3.0.
-
- You first want to select an entry(ie numbers 1-10) in the List1 list box by
- clicking on a number and holding the left mouse down. Once an item has been
- selected and the mouse is held down, drag to your right toward the grid and
- let the left mouse button up, over the specific cell that you desire to drop
- the data in.
-
- You can continue the same sequence with different numbers or the same number
- in the list box to be dragged to other desired cells in the grid. Note, when
- you drag data over and drop on a specific cell that already contains data,
- the new data overwrites the old data.
-
-